﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Data;
using Gem_Tools_Utility;

namespace Gem_Tools_Entity.Gem_Tools
{
    public class CTasks
    {
        private int m_intAuto_ID;
        private int m_intProject_ID;
        private int m_intAsset_ID;
        private int m_intTask_ID;
        private DateTime m_dtmCreated;
        private string m_strCreated_By;
        private int m_intDeleted;
        private DateTime m_dtmLast_Updated;
        private string m_strLast_Updated_By;
        //update ngày 13-12-2013
        private string m_strFull_Name;

        public CTasks()
        {
            ResetData();
        }

        public void ResetData()
        {
            m_intAuto_ID = CConst.INT_VALUE_NULL;
            m_intProject_ID = CConst.INT_VALUE_NULL;
            m_intAsset_ID = CConst.INT_VALUE_NULL;
            m_intTask_ID = CConst.INT_VALUE_NULL;
            m_dtmCreated = CConst.DTM_VALUE_NULL;
            m_strCreated_By = CConst.STR_VALUE_NULL;
            m_intDeleted = CConst.INT_VALUE_NULL;
            m_dtmLast_Updated = CConst.DTM_VALUE_NULL;
            m_strLast_Updated_By = CConst.STR_VALUE_NULL;
            m_strFull_Name = CConst.STR_VALUE_NULL;
        }


        public int Auto_ID
        {
            get
            {
                return m_intAuto_ID;
            }
            set
            {
                m_intAuto_ID = value;
            }
        }


        public int Project_ID
        {
            get
            {
                return m_intProject_ID;
            }
            set
            {
                m_intProject_ID = value;
            }
        }


        public int Asset_ID
        {
            get
            {
                return m_intAsset_ID;
            }
            set
            {
                m_intAsset_ID = value;
            }
        }


        public int Task_ID
        {
            get
            {
                return m_intTask_ID;
            }
            set
            {
                m_intTask_ID = value;
            }
        }


        public DateTime Created
        {
            get
            {
                return m_dtmCreated;
            }
            set
            {
                m_dtmCreated = value;
            }
        }


        public string Created_By
        {
            get
            {
                return m_strCreated_By;
            }
            set
            {
                m_strCreated_By = value.Trim();
            }
        }


        public int Deleted
        {
            get
            {
                return m_intDeleted;
            }
            set
            {
                m_intDeleted = value;
            }
        }


        public DateTime Last_Updated
        {
            get
            {
                return m_dtmLast_Updated;
            }
            set
            {
                m_dtmLast_Updated = value;
            }
        }


        public string Last_Updated_By
        {
            get
            {
                return m_strLast_Updated_By;
            }
            set
            {
                m_strLast_Updated_By = value.Trim();
            }
        }

        public string Full_Name
        {
            get
            {
                return m_strFull_Name;
            }
            set
            {
                m_strFull_Name = value.Trim();
            }
        }
    }
}
